package osgirestcomponenthasservice;

import org.eclipse.viatra2.emf.incquery.runtime.api.IncQueryEngine;
import org.eclipse.viatra2.emf.incquery.runtime.api.impl.BaseGeneratedMatcherFactory;
import org.eclipse.viatra2.emf.incquery.runtime.exception.IncQueryRuntimeException;
import osgirestcomponenthasservice.OSGiRestComponentHasServiceMatch;
import osgirestcomponenthasservice.OSGiRestComponentHasServiceMatcher;

/**
 * A pattern-specific matcher factory that can instantiate OSGiRestComponentHasServiceMatcher in a type-safe way.
 * 
 * @see OSGiRestComponentHasServiceMatcher
 * @see OSGiRestComponentHasServiceMatch
 * 
 */
public class OSGiRestComponentHasServiceMatcherFactory extends BaseGeneratedMatcherFactory<OSGiRestComponentHasServiceMatch,OSGiRestComponentHasServiceMatcher> {
  @Override
  protected OSGiRestComponentHasServiceMatcher instantiate(final IncQueryEngine engine) throws IncQueryRuntimeException {
    return new OSGiRestComponentHasServiceMatcher(engine);
    
  }
  
  @Override
  protected String getBundleName() {
    return "hu.bme.mit.inf.omgi.queries";
    
  }
  
  @Override
  protected String patternName() {
    return "OSGiRestComponentHasService";
    
  }
}
